/*
* Copyright (c) 2017 . All Rights Reserved.
*/
package com.cgmnx.admin.web.model.param;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author: created  Date: 17/1/3 Time: 下午6:37
 * @version: 1.0
 */
@Setter
@Getter
@ToString
public class RoleBindingUserParam {

    @NotNull(message = "角色ID不能为空")
    private Integer roleId;

    @NotEmpty(message = "用户ID不能为空")
    private List<String> userIds;
}